<?php
if ($this->user == NULL) {?>
    <?php echo $this->loginForm;?>
<?php } else {?>
    <b><?php echo $this->user->getLogin()?></b> / <a href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'logout'), 'adminRoute');?>">Выход</a><br><br>
<?php }
?>